package com.climb.ssm.util;

import com.climb.ssm.service.AccountService;
import com.climb.ssm.service.impl.AccountServiceImplByISpIoc;

/**
 * @author Administrator
 * 实例化bean的三种方式1-默认构造函数
 * 实例化bean的三种方式2-实例工厂
 */
public class InstanceFactory {
	public AccountService getAccountService(){
		return new AccountServiceImplByISpIoc(1);
	}
}